
public class Edge {
	private Vertex startVertex;
	private Vertex endVertex;
	private int value;
	private boolean isMarked;
	
	public Edge( Vertex start, Vertex end, int value){
		this.startVertex = start;
		this.value = value;
		this.endVertex = end;
		isMarked = false;
	}

	public Vertex getStartVertex() {
		return startVertex;
	}

	public void setStart(Vertex start) {
		this.startVertex = start;
	}


	public int getEdgeValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public boolean isMarked() {
		return isMarked;
	}

	public void setMarked(boolean isMarked) {
		this.isMarked = isMarked;
	}

	public Vertex getEnd() {
		return endVertex;
	}

	public void setEnd(Vertex end) {
		this.endVertex = end;
	}
	

}
